package extend;

public class Person {
    private String name;
    private int age;
    private String sex;

    /*   final 锁定 类或者变量或者方法
     *   extents 继承
     *   super 重写 */
    public void eat() {
        System.out.println("吃饭");
    }

    public void drink() {
        System.out.println("喝水");
    }
}
